package com.sgb.kjwl.view.ui.adapter.home;

import android.content.Context;

import com.sgb.kjwl.BR;
import com.sgb.kjwl.R;
import com.swgk.core.view.entity.MenuEntity;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class MateriaIndustryAdapter extends BaseRecycleAdapter<MenuEntity> {

    public MateriaIndustryAdapter(Context context, List<MenuEntity> datas) {
        super(context, R.layout.item_industry,datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final MenuEntity entity) {
        holder.setBinding(BR.viewModel, entity);

    }

}
